dwgen
=====

dwgen is a Diceware_ passphrase generator for people without a die.


Usage
-----

Simply run ``dwgen`` in a terminal to get a six word passphrase::

  $ dwgen
  percy ob genii n's butane heroic

Use the ``-n`` flag to choose the number of words::

  $ dwgen -n 8
  james caddy adept cozy tid red hung will

To list other available options, run::

  $ dwgen -h
  usage: dwgen [-h] [--version] [-n N] [-l LANG] [-s SEP]

  Generate a passphrase using the Diceware algorithm.

  optional arguments:
    -h, --help            show this help message and exit
    --version             show program's version number and exit
    -n N, --wordcount N   the number of words to build the passphrase from
    -l LANG, --language LANG
                          the language to use for the words of the passphrase
    -s SEP, --separator SEP
                          the separator to use between the words


License & copyright
-------------------

Copyright 2015 `Mattias Jakobsson <mailto:mjakob422@gmail.com>`_

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.


.. _Diceware: http://world.std.com/~reinhold/diceware.html
